module.exports = {
	lintOnSave: false,
	devServer: {
		open: true,
		host: 'localhost',
		port: 8080,
		https: false,
		hotOnly: false,
		proxy: {
			// 配置跨域
			'/api': {
				target: 'http://emojikeyboard.cn:8080', //后端接口地址
				ws: true,
				changOrigin: true,
				pathRewrite: {
					'^/api': ''
				}
			}
		},
		before: app => {}
	}
};
